#pragma once

class CTrangleShader
{
public:
	void Init(LPDIRECT3DDEVICE9 _Device);
	void Render(LPDIRECT3DDEVICE9 _Device,LPD3DXMATRIX _View,LPD3DXMATRIX _Proj);

protected:
	LPDIRECT3DVERTEXBUFFER9 m_pVB;
	
	LPDIRECT3DVERTEXSHADER9 m_pShader;
	LPD3DXCONSTANTTABLE m_pConstantTable;

	D3DXMATRIX m_ObjectToWorld;
};